.class public Lcom/nemustech/regina/RGWorkspaceHolder;
.super Lcom/nemustech/tiffany/world/TFSimpleHolder;
.source "RGWorkspaceHolder.java"


# static fields
.field private static final TAG:Ljava/lang/String; = "RGWorkspaceHolder"


# instance fields
.field private mLength:F

.field private mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

.field private mWorkspaceWidth:F


# direct methods
.method public constructor <init>(Lcom/nemustech/regina/ReginaLauncher;F)V
    .locals 1
    .parameter "reginaLauncher"
    .parameter "workSpaceWidth"

    .prologue
    .line 16
    const/4 v0, 0x0

    invoke-direct {p0, p1, p2, v0}, Lcom/nemustech/regina/RGWorkspaceHolder;-><init>(Lcom/nemustech/regina/ReginaLauncher;FZ)V

    .line 25
    return-void
.end method

.method public constructor <init>(Lcom/nemustech/regina/ReginaLauncher;FZ)V
    .locals 3
    .parameter "reginaLauncher"
    .parameter "workSpaceWidth"
    .parameter "isTerminal"

    .prologue
    .line 28
    invoke-direct {p0, p3}, Lcom/nemustech/tiffany/world/TFSimpleHolder;-><init>(Z)V

    .line 29
    const-string v0, "Actual Workspace Holder"

    iput-object v0, p0, Lcom/nemustech/regina/RGWorkspaceHolder;->mDescription:Ljava/lang/String;

    .line 30
    iput-object p1, p0, Lcom/nemustech/regina/RGWorkspaceHolder;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    .line 31
    iput p2, p0, Lcom/nemustech/regina/RGWorkspaceHolder;->mWorkspaceWidth:F

    .line 32
    iget v0, p0, Lcom/nemustech/regina/RGWorkspaceHolder;->mWorkspaceWidth:F

    const/high16 v1, 0x4040

    mul-float/2addr v0, v1

    iput v0, p0, Lcom/nemustech/regina/RGWorkspaceHolder;->mLength:F

    .line 33
    const/4 v0, 0x3

    invoke-virtual {p0, v0}, Lcom/nemustech/regina/RGWorkspaceHolder;->addSlots(I)V

    .line 34
    invoke-virtual {p0}, Lcom/nemustech/regina/RGWorkspaceHolder;->getMoveAnimation()Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;

    move-result-object v0

    const/high16 v1, 0x3fa0

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;->setInertia(F)V

    .line 35
    invoke-virtual {p0}, Lcom/nemustech/regina/RGWorkspaceHolder;->getMoveAnimation()Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;

    move-result-object v0

    const/4 v1, 0x1

    const/16 v2, 0x64

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFSimpleHolder$SimpleMoveAnimation;->setAutoRepositionMode(ZI)V

    .line 36
    return-void
.end method


# virtual methods
.method protected calcTouchVectorMagnitude([FI)F
    .locals 1
    .parameter "forceVector"
    .parameter "tickPassed"

    .prologue
    .line 66
    const/4 v0, 0x0

    return v0
.end method

.method public getCurrentWorkspaceIndex()I
    .locals 1

    .prologue
    .line 70
    invoke-virtual {p0}, Lcom/nemustech/regina/RGWorkspaceHolder;->getHeadItemIndex()I

    move-result v0

    return v0
.end method

.method public getHeadSlotIndex(I)I
    .locals 1
    .parameter "slotCount"

    .prologue
    const/4 v0, 0x1

    .line 40
    if-gt p1, v0, :cond_0

    .line 41
    const/4 v0, 0x0

    .line 42
    :cond_0
    return v0
.end method

.method protected getModelPosition(I)F
    .locals 2
    .parameter "modelIndex"

    .prologue
    .line 57
    invoke-virtual {p0}, Lcom/nemustech/regina/RGWorkspaceHolder;->getHeadSlotIndex()I

    move-result v1

    sub-int v1, p1, v1

    int-to-float v0, v1

    .line 58
    .local v0, position:F
    return v0
.end method

.method protected locateObject(Lcom/nemustech/tiffany/world/TFObject;FI)V
    .locals 1
    .parameter "object"
    .parameter "modelPosition"
    .parameter "modelIndex"

    .prologue
    const/4 v0, 0x0

    .line 62
    invoke-virtual {p1, p2, v0, v0}, Lcom/nemustech/tiffany/world/TFObject;->locate(FFF)V

    .line 63
    return-void
.end method

.method protected onAddModel(Lcom/nemustech/tiffany/world/TFObject;I)V
    .locals 0
    .parameter "object"
    .parameter "modelIndex"

    .prologue
    .line 47
    return-void
.end method

.method protected onRemoveModel(Lcom/nemustech/tiffany/world/TFObject;I)V
    .locals 0
    .parameter "object"
    .parameter "modelIndex"

    .prologue
    .line 52
    return-void
.end method
